import { CommunityStatus } from '@/enum';
import { IsEnum, IsNotEmpty } from 'class-validator';

export default class ExamineCommunityDto {
  @IsNotEmpty()
  id: number;

  @IsEnum(CommunityStatus, {
    message: '类型必须是  0:未审核 1:已通过 2:已拒绝',
  })
  status: number;
}
